

            
// This code is a generated code by a tool
// designed and coded by Shohdi Mohamed Elsheemy ( shohdi@gmail.com )

            
using System;
using System.Collections.Generic;
using System.Web;
namespace DatabaseComponent
{
[Serializable]
public partial class ManagerEmployees
{
System.Int64 _ID =-1;
public System.Int64 ID
{
get { return _ID;}
set { _ID = value;}
}
System.Int64 _ManagerID =-1;
public System.Int64 ManagerID
{
get { return _ManagerID;}
set { _ManagerID = value;}
}
System.Int64 _EmployeeID =-1;
public System.Int64 EmployeeID
{
get { return _EmployeeID;}
set { _EmployeeID = value;}
}
public ManagerEmployees()
{
}
public ManagerEmployees(System.Int64 __ManagerID,System.Int64 __EmployeeID)
{
_ManagerID = __ManagerID;
_EmployeeID = __EmployeeID;
}
public ManagerEmployees(System.Int64 __ID,System.Int64 __ManagerID,System.Int64 __EmployeeID)
{
_ID = __ID;
_ManagerID = __ManagerID;
_EmployeeID = __EmployeeID;
}


             public override bool Equals(object obj)
         {
             if (obj is ManagerEmployees)
             {
                 ManagerEmployees newObj = (ManagerEmployees)obj;

                 if (newObj.ID == this.ID )
                 {
                     return true;
                 }
                 else
                 {
                     return false;
                 }
             }

             else
             {
                 return false;
             }

            
         }            











             }
}
